package com.hongxun.project.assets.iJointPole.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongxun.framework.web.domain.BaseEntity;

/**
 * 同杆架设表 i_joint_pole
 * 
 * @author hongxun
 * @date 2019-03-19
 */
public class IJointPole extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String id;
	/** 同杆架设组ID */
	private String poleId;
	/** 所属点位ID */
	private String pId;
	/** 数据状态 */
	private String datastate;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setPoleId(String poleId) 
	{
		this.poleId = poleId;
	}

	public String getPoleId() 
	{
		return poleId;
	}
	public void setPId(String pId) 
	{
		this.pId = pId;
	}

	public String getPId() 
	{
		return pId;
	}
	public void setDatastate(String datastate) 
	{
		this.datastate = datastate;
	}

	public String getDatastate() 
	{
		return datastate;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("poleId", getPoleId())
            .append("pId", getPId())
            .append("datastate", getDatastate())
            .toString();
    }
}
